<div id="content">
  <div id="content-header">
    <div id="breadcrumb"> <a href="#" title="Go to Home" class="tip-bottom"><i class="icon-home"></i> Home</a> 
    <a href="#" class="current">Danh sách thể loại</a> </div>
  </div>
  {$notice}
  <div class="container-fluid">
    <div class="row-fluid">
      <div class="span12">
      
        <div class="widget-box">
          <div class="widget-title">
           <div class="buttons" style="position:absolute;right:175px">							
        </div>
            <span style="float:right;margin:2px 250px 0px 0px;" >
            <form name="admin_id" method="get">
            <select name="languages" onchange="document.admin_id.submit()" id="countries">
                <option value="-1" >Select a languages:</option>
                {foreach $list_lang as $k=>$lang}
                    <option value="{$lang.lang_code}" {if $lang.lang_code==$check_lang.lang_code}selected="selected"{/if} data-image="/upload/icon/blank.gif" data-imagecss="flag {$lang.lang_code}">{$lang.title}</option>
                {/foreach}
            </select>
            <select name="list_table" onchange="document.admin_id.submit()" id="list_table_lang">
                <option value="-1" >Select a customer:</option>
                {foreach $show_table as $table}
                    <option value="{$table.Tables_in_shop_baby}">{$table.Tables_in_shop_baby}</option>
                {/foreach}
            </select>
           
            </form>
            </span>  
            <h5>Thể loại [Danh sách]</h5>
          </div>
            <table class="table table-bordered data-table">
              <thead>
                <tr>
                    <th>Table</th>
                  <th>Tiêu đề</th>
                  <th>Ngôn ngữ</th>
                  <th>Hình ảnh</th>
                  
                  <th>Trạng thái</th>
                  <th>Thao Tác</th>
                </tr>
              </thead>
              <tbody>
                {foreach $select_table as $k=>$detail}
                <td>{$smarty.get.list_table}</td>
                <td>{$detail.title}</td>
                <td></td>
                <td></td>
                <td ><i class="icon-eye-{if $detail.status == 1}open{else}close{/if}"></i></td>
                <td class="center">
                    <a href="translation_update.php?id={$detail.id}&table={$smarty.get.list_table}&lang={$smarty.get.languages}"><i class="icon icon-pencil"></i></a>
                </td>
                </tr>
                {/foreach}
        
              </tbody>
            </table>
          </div>
          
        </div>
        
        
        
        
      </div>
    </div>
  </div>
